<%--
  Created by IntelliJ IDEA.
  User: Aislli
  Date: 2016/11/17
  Time: 14:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ include file="/include.inc.jsp"%>
<h2 class="contentTitle">Add Page</h2>
<form action="/TestController/insert" method="post" class='required-validate pageForm' onsubmit="return iframeCallback(this, navTabAjaxDone);">
<div class="pageFormContent" layoutH = "97">
    <div class="unit">
        <label>name</label>
        <input type="text" name="name" />
    </div>
    <div class="unit">
        <label>sex</label>
        <input type="text" name="sex" class="required"/>
    </div>

    <div class="unit">
        <label>Description</label>
        <textarea name="metaDescription" cols="80" maxlength="200"></textarea>
    </div>

    <div class="unit">
        <label>Sequence</label>
        <input type="text" name="sequence" class="digits" maxlength="4" />
    </div>

    <div class="unit">
        <label>target</label>
        <c:forEach var="item" items="${pageTargets}">
            ${item.name} : <input type="checkbox" name="pageTarget" value="${item}"/>
        </c:forEach>
    </div>

    <div class="unit">
        <label>Content</label>
        <textarea class="editor" name="content" rows="10" cols="80" tools="simple"></textarea>
    </div>
</div>
    <div class="formBar">
        <ul>
            <li><div class="buttonActive"><div class="buttonContent"><button type="submit">Save</button></div></div></li>
            <li><div class="button"><div class="buttonContent"><button type="button" class="close">Close</button></div></div></li>
        </ul>
    </div>

</form>


